package com.lobo.blog.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

/**
 * @authoer:MacieSerenity
 * @createDate: 2022/9/24
 * @description:
 */
@Controller
@RequestMapping("/admin")
public class AdminController {
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String toAdminIndex() {
        return "admin/adminIndex";
    }


    @RequestMapping(value = "/tags", method = RequestMethod.GET)
    public String toAdminTags() {
        return "admin/tags";
    }


}
